Skip to content

Add functionality to re-stream models separately #4357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Lamaaar
Copy link

@Lamaaar Lamaaar commented Aug 12, 2025

boolean engineRestreamModel( int modelId ) - re-stream a specific model using its ID

boolean engineRestream( [ string restreamOption = "world" ] ) - re-stream a specific group of models (can be: "world", "vehicles", "peds", "objects")

These functions can be used instead of engineRestreamWorld (thus improving stability) if you only need to re-stream a specific (group of) model(s).

For example, instead of using engineRestreamWorld after using engineImageLinkDFF you can use engineRestreamModel to re-stream that single replaced model or engineRestream("vehicles") if you have used engineImageLinkDFF in bulk.

engineRestreamModel - re-stream a specific model using it's ID

engineRestream - re-stream a specific group of models (world, vehicles, peds, objects)
Copy link
Member

@Nico8340 Nico8340 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

tederis
tederis previously approved these changes Aug 13, 2025
Copy link
Member

@tederis tederis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants